.class public Lcom/noshufou/android/su/provider/PermissionsProvider$Apps;
.super Ljava/lang/Object;
.source "PermissionsProvider.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/noshufou/android/su/provider/PermissionsProvider;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "Apps"
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/noshufou/android/su/provider/PermissionsProvider$Apps$AllowType;
    }
.end annotation


# static fields
.field public static final ALLOW:Ljava/lang/String; = "allow"

.field public static final APPS_LOGS_JOIN:Ljava/lang/String; = "apps LEFT OUTER JOIN logs ON apps._id=logs.app_id"

.field public static final CONTENT_URI:Landroid/net/Uri; = null

.field public static final COUNT_CONTENT_URI:Landroid/net/Uri; = null

.field public static final CREATE:Ljava/lang/String; = "CREATE TABLE IF NOT EXISTS apps (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid INTEGER, package TEXT, name TEXT,  exec_uid INTEGER, exec_cmd TEXT, allow INTEGER, notifications INTEGER, logging INTEGER, dirty INTEGER, UNIQUE (uid,exec_uid,exec_cmd));"

.field public static final DEFAULT_PROJECTION:[Ljava/lang/String; = null

.field public static final DEFAULT_SORT_ORDER:Ljava/lang/String; = "apps.allow DESC, apps.name ASC"

.field public static final DIRTY:Ljava/lang/String; = "dirty"

.field public static final EXEC_CMD:Ljava/lang/String; = "exec_cmd"

.field public static final EXEC_UID:Ljava/lang/String; = "exec_uid"

.field public static final LAST_ACCESS:Ljava/lang/String; = "date"

.field public static final LAST_ACCESS_TYPE:Ljava/lang/String; = "type"

.field public static final LOGGING:Ljava/lang/String; = "logging"

.field public static final NAME:Ljava/lang/String; = "name"

.field public static final NOTIFICATIONS:Ljava/lang/String; = "notifications"

.field public static final PACKAGE:Ljava/lang/String; = "package"

.field public static final TABLE_NAME:Ljava/lang/String; = "apps"

.field public static final UID:Ljava/lang/String; = "uid"

.field public static final _ID:Ljava/lang/String; = "_id"


# direct methods
.method static constructor <clinit>()V
    .locals 3

    .prologue
    .line 49
    const-string v0, "content://com.noshufou.android.su.provider/apps"

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    .line 48
    sput-object v0, Lcom/noshufou/android/su/provider/PermissionsProvider$Apps;->CONTENT_URI:Landroid/net/Uri;

    .line 51
    const-string v0, "content://com.noshufou.android.su.provider/apps/count"

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    .line 50
    sput-object v0, Lcom/noshufou/android/su/provider/PermissionsProvider$Apps;->COUNT_CONTENT_URI:Landroid/net/Uri;

    .line 75
    const/16 v0, 0xb

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 76
    const-string v2, "_id"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string v2, "uid"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string v2, "package"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string v2, "name"

    aput-object v2, v0, v1

    const/4 v1, 0x4

    const-string v2, "exec_uid"

    aput-object v2, v0, v1

    const/4 v1, 0x5

    const-string v2, "exec_cmd"

    aput-object v2, v0, v1

    const/4 v1, 0x6

    const-string v2, "allow"

    aput-object v2, v0, v1

    const/4 v1, 0x7

    .line 77
    const-string v2, "date"

    aput-object v2, v0, v1

    const/16 v1, 0x8

    const-string v2, "type"

    aput-object v2, v0, v1

    const/16 v1, 0x9

    const-string v2, "notifications"

    aput-object v2, v0, v1

    const/16 v1, 0xa

    const-string v2, "logging"

    aput-object v2, v0, v1

    .line 75
    sput-object v0, Lcom/noshufou/android/su/provider/PermissionsProvider$Apps;->DEFAULT_PROJECTION:[Ljava/lang/String;

    .line 42
    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 42
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method
